﻿@model List<$rootnamespace$.Areas.Wikimentation.Models.WikiPage>

<div id="wmmain">
<div id="wmheader">


      @Ajax.ActionLink("Create new wikipage", "Create", new AjaxOptions
           {
               UpdateTargetId = "wmmaincontent",
               InsertionMode = InsertionMode.InsertBefore

           })

    </div>

<div id="wmmaincontent">

    @foreach (var item in Model)
    {
        
            @Html.Partial("WikiPageView", item)
        
    }

</div>
    </div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}